﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BDShop.Framework.Caching;
using BDShop.Entities;
using BDShop.Framework;
using BDShop.Configuration;

namespace BDShop.Business.Cache
{
    public class ProductCache : BaseCache<List<ProductCacheComplex>>
    {
        public ProductCache()
            : base(BDShopConfiguration.Cache.CacheProduct, ProductService.GetListProductCacheModel, true, CacheManager.GetFilePathFO(CacheEnum.product))
        {
            
        }

        public static ProductCache Instance
        {
            get
            {
               return SingletonBase<ProductCache>.Instance;
            }
        }

    }
}
